package com.ruoyi.mall.common.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 秒杀商品列表对象 dts_seckill_batch
 *
 * @author ruoyi
 * @date 2025-03-14
 */
public class DtsSeckillBatch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long goodsId;

    /** 秒杀批次 */
    @Excel(name = "秒杀批次")
    private String SeckillBatch;

    /** 总数 */
    @Excel(name = "总数")
    private Long total;

    /** 剩余数量 */
    @Excel(name = "剩余数量")
    private Long RemainingQuantity;

    /** 是否结束 */
    @Excel(name = "是否结束")
    private Long Conclude;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String starttime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String ClosingTime;

    /** 逻辑删除 */
    private Integer delete;

    /** 是否可重复秒杀 */
    private Long seckill;

    //秒杀价格
    private Double flashSalePrice;

    //商品规格id
    private Long product_id;

    private DtsGoods dtsGoods;
    private List<DtsGoods> dtsGoodsList;

    private DtsGoodsProduct dtsGoodsProduct;

    public Double getFlashSalePrice() {
        return flashSalePrice;
    }

    public void setFlashSalePrice(Double flashSalePrice) {
        this.flashSalePrice = flashSalePrice;
    }

    public Long getProduct_id() {
        return product_id;
    }

    public void setProduct_id(Long product_id) {
        this.product_id = product_id;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setGoodsId(Long goodsId)
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId()
    {
        return goodsId;
    }
    public void setSeckillBatch(String SeckillBatch)
    {
        this.SeckillBatch = SeckillBatch;
    }

    public String getSeckillBatch()
    {
        return SeckillBatch;
    }
    public void setTotal(Long total)
    {
        this.total = total;
    }

    public Long getTotal()
    {
        return total;
    }
    public void setRemainingQuantity(Long RemainingQuantity)
    {
        this.RemainingQuantity = RemainingQuantity;
    }

    public Long getRemainingQuantity()
    {
        return RemainingQuantity;
    }
    public void setConclude(Long Conclude)
    {
        this.Conclude = Conclude;
    }

    public Long getConclude()
    {
        return Conclude;
    }
    public void setStarttime(String starttime)
    {
        this.starttime = starttime;
    }

    public String getStarttime()
    {
        return starttime;
    }
    public void setClosingTime(String ClosingTime)
    {
        this.ClosingTime = ClosingTime;
    }

    public String getClosingTime()
    {
        return ClosingTime;
    }
    public void setDelete(Integer delete)
    {
        this.delete = delete;
    }

    public Integer getDelete()
    {
        return delete;
    }
    public void setSeckill(Long seckill)
    {
        this.seckill = seckill;
    }

    public Long getSeckill()
    {
        return seckill;
    }

    public DtsGoods getDtsGoods() {
        return dtsGoods;
    }

    public void setDtsGoods(DtsGoods dtsGoods) {
        this.dtsGoods = dtsGoods;
    }

    public List<DtsGoods> getDtsGoodsList() {
        return dtsGoodsList;
    }

    public void setDtsGoodsList(List<DtsGoods> dtsGoodsList) {
        this.dtsGoodsList = dtsGoodsList;
    }

    public DtsGoodsProduct getDtsGoodsProduct() {
        return dtsGoodsProduct;
    }

    public void setDtsGoodsProduct(DtsGoodsProduct dtsGoodsProduct) {
        this.dtsGoodsProduct = dtsGoodsProduct;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("goodsId", getGoodsId())
            .append("SeckillBatch", getSeckillBatch())
            .append("total", getTotal())
            .append("RemainingQuantity", getRemainingQuantity())
            .append("Conclude", getConclude())
            .append("starttime", getStarttime())
            .append("ClosingTime", getClosingTime())
            .append("delete", getDelete())
            .append("seckill", getSeckill())
            .toString();
    }
}
